package Server.ServerMainFrame.ServerMainFrameModel.ServerThread;

import Core.Model.*;

import java.net.*;

import java.io.*;

import Packet.*;

import Server.ServerMainFrame.ServerMainFrameModel.*;

public interface ServerThread
{	
    public abstract void setType(ClientUser type);
    
    public abstract ClientUser getType();
    
    public abstract ObjectInputStream getObjectInputStream();
    
    public abstract ObjectOutputStream getObjectOutputStream();
    
    public abstract ServerMainFrameModel getModel();
    
    public abstract void dealPacket(Packet packet);
}
